//==============================================================================
// barracks_anim.txt
//==============================================================================

import Construction_defines_anim.txt
import building_damage_defines_anim.txt

define sfxatimeshiftmediumin
{
	set hotspot
	{
		version
		{
			Visualparticle sfx a timeshift medium
		}
	}
}

//down sparkles
define sfxatimeshiftspellin
{
	set hotspot
	{
		version
		{
			Visualparticle sfx a timeshift spell out
		}
	}
}

define sfxatimeshiftswirl
{
	set hotspot
	{
		version
		{
			//Visualparticle sfx a timeshift swirl tied
			visualnone Jimmy
		}
	}
}

//==============================================================================
define empower
{
   SetSelector
   {
      EmpowerLogic
      SetSelector
      {
         set hotspot
         {
            version
            {
               Visualnone Jimmy
            }
         }
      }
      SetSelector
      {
         set hotspot
         {
            version
            {
               Visualparticle SFX E Pharaoh Empower Large
            }
         }
      }
   }
}

//==============================================================================
define FLAGN_B
{
   set hotspot
   {
      version
      {
         visual Building Flag Barracks
      }
   }  
}

//==============================================================================
define VINEA
{
   set hotspot
   {
      version
      {
         visual Building VineA
      }
   }  
}

//==============================================================================
define VINEB
{
   set hotspot
   {
      version
      {
         visual Building VineB
      }
   }  
}

//==============================================================================
define CypressB
{
   set hotspot
   {
      version
      {
         visual Terrain G CypressB
      }
   }  
}

//==============================================================================
define Shield
{
   TechLogic Copper shields/Bronze shields/Iron shields
   set hotspot
   {
      version
      {
         visual Attachments G Shield wood
      }
   }
   set hotspot
   {
      version
      {
         visual Attachments G Shield iron
      }
   }
   set hotspot
   {
      version
      {
         visual Attachments G Shield bronze
      }
   }
}

//==============================================================================
define Dust
{
   set hotspot
   {
      version
      {
         Visualparticle SFX A Building DustA
      }
   }  
}

//==============================================================================
define Sceptor
{
   set hotspot
   {
      version
      {
         visual Attachments E Scepter
      }
   }  
}


//==============================================================================
anim idle
{
//---------------------------------Egyptian---------------------------------------//
       //---------------------------Age 2--------------------------------//   
   SetSelector
   {
      TechLogic age 2/age 3/age 4
      setSelector
      {
         DamageLogic -2 -1 50
         set hotspot
         {
            version
            {
				visual Building E Barracks Age2
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
				connect ATTACHPOINT empower hotspot
            }
         }
         set hotspot
         {
            version
            {
				visual Building G ConstructionBarracks
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
				connect ATTACHPOINT empower hotspot
				connect attachpoint E_Long_Brick hotspot
				connect face E_Long_Brick hotspot
				connect chin E_Medium_Brick hotspot
				connect leftfoot E_Medium_Brick hotspot
				connect lefthand E_Small_Brick hotspot
				connect leftleg E_Small_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
				visual Building Construction Medium B
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
				connect ATTACHPOINT empower hotspot
				connect attachpoint E_Long_Brick hotspot
				connect face E_Long_Brick hotspot
				connect chin E_Medium_Brick hotspot
				connect leftfoot E_Medium_Brick hotspot
				connect lefthand E_Small_Brick hotspot
				connect leftleg E_Small_Brick hotspot
            }
         }
         
      }
     //---------------------------Age 3--------------------------------//
      setSelector
      {
         DamageLogic -2 -1 50
         set hotspot
         {
            version
            {
				visual Building E Barracks Age3
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
				connect ATTACHPOINT empower hotspot
            }
         }
         set hotspot
         {
            version
            {
				visual Building G ConstructionBarracks
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
				connect ATTACHPOINT empower hotspot
				connect attachpoint E_Long_Brick hotspot
				connect face E_Long_Brick hotspot
				connect chin E_Medium_Brick hotspot
				connect leftfoot E_Medium_Brick hotspot
				connect lefthand E_Small_Brick hotspot
				connect leftleg E_Small_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
				visual Building Construction Medium B
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
				connect ATTACHPOINT empower hotspot
				connect attachpoint E_Long_Brick hotspot
				connect face E_Long_Brick hotspot
				connect chin E_Medium_Brick hotspot
				connect leftfoot E_Medium_Brick hotspot
				connect lefthand E_Small_Brick hotspot
				connect leftleg E_Small_Brick hotspot
            }
         }
         
      }
   //---------------------------Age 4--------------------------------//
      setSelector
      {
         DamageLogic -2 -1 50
         set hotspot
         {
            version
            {
				visual Building E Barracks Age4
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
				connect ATTACHPOINT empower hotspot
            }
         }
         set hotspot
         {
            version
            {
				visual Building G ConstructionBarracks
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
				connect ATTACHPOINT empower hotspot
				connect attachpoint E_Long_Brick hotspot
				connect face E_Long_Brick hotspot
				connect chin E_Medium_Brick hotspot
				connect leftfoot E_Medium_Brick hotspot
				connect lefthand E_Small_Brick hotspot
				connect leftleg E_Small_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
				visual Building Construction Medium B
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
				connect ATTACHPOINT empower hotspot
				connect attachpoint E_Long_Brick hotspot
				connect face E_Long_Brick hotspot
				connect chin E_Medium_Brick hotspot
				connect leftfoot E_Medium_Brick hotspot
				connect lefthand E_Small_Brick hotspot
				connect leftleg E_Small_Brick hotspot
            }
         }
         
      }
   }
}

//==============================================================================
anim Death
{
//---------------------------------Egyptian---------------------------------------//
       //---------------------------Age 2--------------------------------//   
   SetSelector
   {
      TechLogic age 2/age 3/age 4
      setSelector
      {
         DamageLogic -2 -1 50
         set hotspot
         {
            version
            {
               visual Building E Barracks Age2_Death
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
               connect Smoke0 Dust hotspot
					connect Smoke1 Dust hotspot
					connect Smoke2 Dust hotspot
					connect Smoke3 Dust hotspot
            }
         }
         set hotspot
         {
            version
            {
				visual Building G ConstructionBarracks
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
				connect ATTACHPOINT empower hotspot
				connect attachpoint E_Long_Brick hotspot
				connect face E_Long_Brick hotspot
				connect chin E_Medium_Brick hotspot
				connect leftfoot E_Medium_Brick hotspot
				connect lefthand E_Small_Brick hotspot
				connect leftleg E_Small_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
				visual Building Construction Medium B
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
				connect ATTACHPOINT empower hotspot
				connect attachpoint E_Long_Brick hotspot
				connect face E_Long_Brick hotspot
				connect chin E_Medium_Brick hotspot
				connect leftfoot E_Medium_Brick hotspot
				connect lefthand E_Small_Brick hotspot
				connect leftleg E_Small_Brick hotspot
            }
         }
         
      }
     //---------------------------Age 3--------------------------------//
      setSelector
      {
         DamageLogic -2 -1 50
         set hotspot
         {
            version
            {
               visual Building E Barracks Age3_Death
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
               connect Smoke0 Dust hotspot
					connect Smoke1 Dust hotspot
					connect Smoke2 Dust hotspot
					connect Smoke3 Dust hotspot
            }
         }
         set hotspot
         {
            version
            {
				visual Building G ConstructionBarracks
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
				connect ATTACHPOINT empower hotspot
				connect attachpoint E_Long_Brick hotspot
				connect face E_Long_Brick hotspot
				connect chin E_Medium_Brick hotspot
				connect leftfoot E_Medium_Brick hotspot
				connect lefthand E_Small_Brick hotspot
				connect leftleg E_Small_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
				visual Building Construction Medium B
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
				connect ATTACHPOINT empower hotspot
				connect attachpoint E_Long_Brick hotspot
				connect face E_Long_Brick hotspot
				connect chin E_Medium_Brick hotspot
				connect leftfoot E_Medium_Brick hotspot
				connect lefthand E_Small_Brick hotspot
				connect leftleg E_Small_Brick hotspot
            }
         }
         
      }
   //---------------------------Age 4--------------------------------//
      setSelector
      {
         DamageLogic -2 -1 50
         set hotspot
         {
            version
            {
               visual Building E Barracks Age4_death
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
               connect Smoke0 Dust hotspot
					connect Smoke1 Dust hotspot
					connect Smoke2 Dust hotspot
					connect Smoke3 Dust hotspot
            }
         }
         set hotspot
         {
            version
            {
				visual Building G ConstructionBarracks
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
				connect ATTACHPOINT empower hotspot
				connect attachpoint E_Long_Brick hotspot
				connect face E_Long_Brick hotspot
				connect chin E_Medium_Brick hotspot
				connect leftfoot E_Medium_Brick hotspot
				connect lefthand E_Small_Brick hotspot
				connect leftleg E_Small_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
				visual Building Construction Medium B
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
				connect ATTACHPOINT empower hotspot
				connect attachpoint E_Long_Brick hotspot
				connect face E_Long_Brick hotspot
				connect chin E_Medium_Brick hotspot
				connect leftfoot E_Medium_Brick hotspot
				connect lefthand E_Small_Brick hotspot
				connect leftleg E_Small_Brick hotspot
            }
         }
         
      }
   }
}




